#pragma once

#include <list>

#include "../word/Word.hpp"

class Sentence
{
private:
    std::list<Word *> words;

public:
    Sentence()
    {
    }

    Sentence &operator<<(Word &word)
    {
        words.push_back(&word);
        return *this;
    }

    void clear()
    {
        words.clear();
    }
};
